import request from '@/utils/request'
//学员提交作业接口
export function eduStudentJobsQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/eduStudentJobs/query',
    params: data,
  })
}

export function eduStudentJobsQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/eduStudentJobs/query/' + id,
  })
}

export function eduStudentJobsAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/eduStudentJobs/add',
    data,
  })
}

export function eduStudentJobsDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/eduStudentJobs/delete/' + id,
  })
}

export function eduStudentJobsUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/eduStudentJobs/update',
    data,
  })
}
